package frame.core;

import frame.pojo.Configuration;
import frame.pojo.MapperStatement;

import java.sql.SQLException;
import java.util.List;

/**
 * FileName: Executor
 * Author:   xuan zongjun
 * Date:     2020/11/6 12:04
 * Description:
 */


public interface Executor {

    <E> List<E> query(Configuration configuration, MapperStatement mappedStatement, Object[] param) throws Exception;


    void close() throws SQLException;

}
